<template>
	<view class="content">
		<!-- 电量显示栏-->
		<view class="top_nav">
			<view class="kong"></view>
			<!-- <image src="../../static/buy/1.png"></image> -->
			<view class="tab_item">
				<view class="return">
					<image src="https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/course/jiantou.png"></image>
				</view>
				<view class="title">设备管理</view>
				<view class="return"></view>
			</view>
		</view>
		
		<view class="shebei_wrap">
			<view class="shebei_item" v-for="(item,index) in shebei_list" :key="index">
				<view class="shebei_left">
					<image :src="item.shebei_img"></image>
				</view>
				<view class="shebei_right">
					<view class="shebei_name">设备名称:<text>{{item.shebei_name}}</text></view>
					<view class="shebei_no">设备编号:<text>{{item.shebei_no}}</text></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				shebei_list:[
					{
						shebei_img:'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/myjgq/shebei.png',
						shebei_name:'M2',
						shebei_no:'FD2523738392020'
					},{
						shebei_img:'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/myjgq/shebei.png',
						shebei_name:'M2',
						shebei_no:'FD2523738392020'
					},{
						shebei_img:'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/myjgq/shebei.png',
						shebei_name:'M2',
						shebei_no:'FD2523738392020'
					},{
						shebei_img:'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/myjgq/shebei.png',
						shebei_name:'M2',
						shebei_no:'FD2523738392020'
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
.content{
	width: 100%;
	position: relative;
	.top_nav{
		width: 100%;
		height: 200upx;
		background-image: url('https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/buy/1.png');
		background-size: cover;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		.kong{
			width: 100%;
			height: 60upx;
		}
		.tab_item{
			width: 90%;
			margin: 0 auto;
			height: 140upx;
			display: flex;
			align-items: center;
			justify-content: center;
			.return{
				flex: 1;
				width: 100%;
				image{
					width: 29upx;
					height: 29upx;
				}
			}
			.title{
				flex: 8;
				width: 100%;
				color: #ffffff;
				display: flex;
				align-items: center;
				justify-content: center;
				z-index: 10;
			}
		}
	}
	.shebei_wrap{
		width: 100%;
		padding-top: 220upx;
		.shebei_item{
			width: 90%;
			margin: 0 auto;
			display: flex;
			align-items: center;
			justify-content: center;
			border-bottom: 2upx solid #cccccc;
			padding: 20upx 0;
			.shebei_left{
				flex: 2;
				image{
					width: 93upx;
					height: 147upx;
				}
			}
			.shebei_right{
				flex: 8;
				.shebei_name{
					padding: 10upx 0;
					text{
						padding-left: 10upx;
					}
				}
				.shebei_no{
					text{
						padding-left: 10upx;
					}
				}
			}
		}
		.shebei_item:last-child{
			border-bottom: none;
		}
	}
}
</style>
